<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>


</head>
<body>


<div ng-app="">
    <p>名字 : <input type="text" ng-model="name"></p>
    <button>{{name}}</button>

</div>


<script src="http://cdn.static.runoob.com/libs/angular.js/1.4.6/angular.min.js"></script>
</body>


</html>